package com.bridgeintelligent.tag.user.mgmt.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Map;

@ApiModel
public class User implements Serializable {

    private static final long serialVersionUID = 7074496170583072548L;
    // 主键
    @ApiModelProperty(value = "用户主键", required = true)
    private String userId;
    // 用户名
    @ApiModelProperty(value = "用户名", required = false)
    private String username;
    //密码
    @ApiModelProperty("密码")
    private String password;
    //姓名
    @ApiModelProperty("姓名")
    private String name;
    // 手机号
    @ApiModelProperty("手机号")
    private String userPhone;
    // 办公电话
    @ApiModelProperty("办公电话")
    private String officePhone;
    // 邮箱
    @ApiModelProperty("邮箱")
    private String email;
    //机构
    @ApiModelProperty("机构")
    private String institution;
    //所属部门
    @ApiModelProperty("所属部门")
    private String department;
    //角色id
    @ApiModelProperty("角色id")
    private String roleId;
    //操作时间
    @ApiModelProperty("操作时间")
    private String operateTime;
    //有效标志
    @ApiModelProperty("是否有效:01表示有效,02表示无效")
    private String efftctiveSymbol;
    //角色名称
    private String roleName;
    //是否有效
    private String isEfftctive;

    private Map<String,String> roleMap;

    @ApiModelProperty("用户唯一身份标识")
    private String yuSid;

    public String getYuSid() {
        return yuSid;
    }

    public void setYuSid(String yuSid) {
        this.yuSid = yuSid;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getOfficePhone() {
        return officePhone;
    }

    public void setOfficePhone(String officePhone) {
        this.officePhone = officePhone;
    }

    public String getInstitution() {
        return institution;
    }

    public void setInstitution(String institution) {
        this.institution = institution;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }

    public String getEfftctiveSymbol() {
        return efftctiveSymbol;
    }

    public void setEfftctiveSymbol(String efftctiveSymbol) {
        this.efftctiveSymbol = efftctiveSymbol;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getIsEfftctive() {
        return isEfftctive;
    }

    public void setIsEfftctive(String isEfftctive) {
        this.isEfftctive = isEfftctive;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public Map<String, String> getRoleMap() {
        return roleMap;
    }

    public void setRoleMap(Map<String, String> roleMap) {
        this.roleMap = roleMap;
    }

    public User() {
    }

    public User(String userId, String username) {
        this.userId = userId;
        this.username = username;
    }
}